home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / ProdCatGroup.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.1 KB  |  68 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14.     <!-- 
  15.         <![CDATA[
  16.         A ProdCatGroup identifies a product as belonging to a product
  17.         group.  The group may indicate the Catalog a product is in,
  18.         a group of products with the same price, or some product group.
  19.         
  20.         Example XML:
  21.             <ProductGroup>
  22.                 <GroupType>SamePrice</GroupType>
  23.                 <GroupCode>N32</GroupCode>
  24.             </ProductGroup>        
  25.         ]]>
  26.      -->
  27.  
  28.     <elementtype name="ProdCatGroup">
  29.         <model>
  30.             <sequence>
  31.                 <!--  The type of group.  Example: SamePrice for
  32.                 a group of products with the same price.  / -->
  33.                 <element type="ProdCatGroupType" name="GroupType" />
  34.                 
  35.                 <!--  A coded value for the name of the group. / -->
  36.                 <element type="string" name="GroupCode" occurs="?" />
  37.                 
  38.                 <!--  The Agency that understands the coded value. / -->
  39.                 <element type="Agency" occurs="?" />
  40.                 
  41.                 <!--  The name of the group in text.  This
  42.                     should not be provided if a GroupCode is used.  / -->
  43.                 <element type="string" name="GroupName" occurs="?" />                
  44.             </sequence>
  45.         </model>
  46.                 
  47.     </elementtype>
  48.  
  49.     <!--  The type of the group.  This comes from EAN codelist 5379.
  50.     / -->    
  51.     <datatype name="ProdCatGroupType">
  52.         <enumeration datatype="NMTOKEN">
  53.             <option>Catalog</option>
  54.             <option>SamePrice</option>
  55.             <option>ProdGroup</option>
  56.         </enumeration>
  57.     </datatype>
  58.     
  59.     <!--  A container for a list of one or more ProdCatDoc / -->    
  60.     <elementtype name="ListOfProdCatGroup">
  61.         <model>
  62.             <element type="ProdCatGroup" occurs="+" />
  63.         </model>
  64.     </elementtype>
  65.     
  66.     
  67. </schema>
  68.